#ifndef YJDialog_h
#define YJDialog_h
#include "YDialog.h"
#include "binder.h"


class YJDialog: public YDialog {
public:
	YJDialog();
	YJDialog(int parrentId, YDialogType dialogType, YDialogColorMode colorMode =
			YDialogNormalColor);

	static ydialog_constructor_callback constructor_cb;
	static simple_callback activate_cb;
	static simple_callback open_internal;
	void test();


protected:
	virtual void activate();
	virtual void openInternal();
	virtual YEvent * waitForEventInternal(int timeout_millisec);
	virtual YEvent * pollEventInternal();
private:


	int classId;
};

#endif //YJDialog_h
